package a.j;

import a.c.ab;
import a.c.bb;
import a.c.d;
import a.c.e;
import a.c.m;
import a.c.x;
import a.c.y;
import a.c.z;
import a.d.t;
import a.f.yc;
import a.j.a.b;
import a.j.a.j;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.geom.AffineTransform;
import java.awt.geom.GeneralPath;
import java.awt.geom.PathIterator;
import java.awt.geom.Point2D;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.lang.ref.WeakReference;
import java.util.*;
import java.util.List;

public class lc
{
  pg a;
  static final byte b = 0;
  static final byte c = 1;
  static final byte d = 2;
  static final byte f = 3;
  ActionMap g;
  public static final Object h = "FOCUS_RIGHT_NODE";
  public static final Object i = "EDIT_NODE";
  public static final Object j = "FOCUS_LEFT_NODE";
  public static final Object k = "FOCUS_TOP_NODE";
  public static final Object l = "FOCUS_BOTTOM_NODE";
  public static final Object m = "SELECT_ALL";
  public static final Object n = "TOP_ALIGN";
  public static final Object o = "ALIGN_VERTICALLY";
  public static final Object p = "BOTTOM_ALIGN";
  public static final Object q = "DISTRIBUTE_VERTICALLY";
  public static final Object r = "LEFT_ALIGN";
  public static final Object s = "ALIGN_HORIZONTALLY";
  public static final Object t = "RIGHT_ALIGN";
  public static final Object u = "DISTRIBUTE_HORIZONTALLY";
  public static final Object v = "SELECT_LEFT_EDGE";
  public static final Object w = "SELECT_RIGHT_EDGE";
  public static final Object x = "SELECT_TOP_EDGE";
  public static final Object y = "SELECT_BOTTOM_EDGE";
  public static final Object z = "DELETE_SELECTION";
  public static final Object A = "GROUP_SELECTION";
  public static final Object B = "FOLD_SELECTION";
  public static final Object C = "UNGROUP_SELECTION";
  public static final Object D = "UNFOLD_SELECTION";
  public static final Object E = "OPEN_FOLDERS";
  public static final Object F = "CLOSE_GROUPS";
  public static final Object G = "EDIT_LABEL";
  public static final Object H = "DUPLICATE_GRAPH";
  public static final Object I = "ADD_SUCCESSORS";
  public static final Object J = "ADD_PREDECESSORS";
  Map K = new WeakHashMap();
  public static boolean L;
  
  public lc()
  {
    this(null);
  }
  
  public lc(pg parampg)
  {
    this.a = parampg;
    this.g = new ActionMap();
    this.g.put(l, k());
    this.g.put(k, i());
    this.g.put(j, e());
    this.g.put(h, g());
    this.g.put(y, w());
    this.g.put(x, t());
    this.g.put(v, m());
    this.g.put(w, p());
    this.g.put(z, H());
    this.g.put(G, cb());
    this.g.put(i, b());
    this.g.put(m, q());
    this.g.put(r, a(r, false, (byte)-1));
    this.g.put(s, a(s, false, (byte)0));
    this.g.put(t, a(t, false, (byte)1));
    this.g.put(u, a(u, false, (byte)2));
    this.g.put(n, a(n, true, (byte)-1));
    this.g.put(o, a(o, true, (byte)0));
    this.g.put(p, a(p, true, (byte)1));
    this.g.put(q, a(q, true, (byte)2));
    this.g.put(F, J());
    this.g.put(E, L());
    this.g.put(A, O());
    this.g.put(B, Q());
    this.g.put(C, S());
    this.g.put(D, U());
    this.g.put(H, W());
    this.g.put(I, Y());
    this.g.put(J, ab());
  }
  
  public void a(int paramInt)
  {
    a(this.a, paramInt);
  }
  
  public void a()
  {
    a(this.a, 0);
  }
  
  public void a(pg parampg)
  {
    a(parampg, 0);
  }
  
  public void a(pg parampg, int paramInt)
  {
    boolean bool = ld.E;
    if (!bool) {
      if (this.a != null)
      {
        if (bool) {
          break label41;
        }
        if (this.a != parampg) {
          throw new IllegalArgumentException("Actions already bound to another view");
        }
      }
    }
    if (parampg == null) {
      label41:
      throw new IllegalArgumentException("Actions not bound to any view");
    }
    ActionMap localActionMap = db();
    InputMap localInputMap = a(localActionMap);
    parampg.B().setActionMap(localActionMap);
    parampg.B().setInputMap(paramInt, localInputMap);
  }
  
  Action b()
  {
    new AbstractAction(i.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.d(lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  protected pg a(ActionEvent paramActionEvent)
  {
    return a(paramActionEvent, this.a);
  }
  
  private static pg a(ActionEvent paramActionEvent, pg parampg)
  {
    boolean bool = ld.E;
    if (!bool) {
      if ((paramActionEvent.getSource() instanceof og)) {
        return (pg)((og)paramActionEvent.getSource()).getParent();
      }
    }
    if ((bool) || ((paramActionEvent.getSource() instanceof pg))) {
      return (pg)paramActionEvent.getSource();
    }
    return parampg;
  }
  
  public Action c()
  {
    return this.g.get(i);
  }
  
  public Action d()
  {
    return this.g.get(j);
  }
  
  Action e()
  {
    new AbstractAction(j.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.a((byte)0, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action f()
  {
    return this.g.get(h);
  }
  
  Action g()
  {
    new AbstractAction(h.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.a((byte)1, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action h()
  {
    return this.g.get(k);
  }
  
  Action i()
  {
    new AbstractAction(k.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.a((byte)2, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action j()
  {
    return this.g.get(l);
  }
  
  Action k()
  {
    new AbstractAction(l.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.a((byte)3, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action l()
  {
    return this.g.get(v);
  }
  
  Action m()
  {
    new AbstractAction(v.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.c((byte)0, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action n()
  {
    return this.g.get(w);
  }
  
  public Action o()
  {
    return this.g.get(m);
  }
  
  Action p()
  {
    new AbstractAction(w.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.c((byte)1, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  Action q()
  {
    return new cb_(this.a);
  }
  
  Action a(Object paramObject, boolean paramBoolean, byte paramByte)
  {
    new AbstractAction(paramObject.toString())
    {
      private final boolean val$vertical;
      private final byte val$mode;
      
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.a(lc.this.a(paramAnonymousActionEvent), this.val$vertical, this.val$mode);
      }
    };
  }
  
  protected final void b(pg parampg)
  {
    boolean bool = ld.E;
    g localg = g(parampg);
    localg.z();
    if (!bool) {
      if (localg.S().k() > 0)
      {
        localg.a(localg.R(), false);
        localg.a(localg.w(), true);
        if (bool) {
          return;
        }
        if (!ld.D) {
          break label63;
        }
      }
    }
    localg.a(true);
    label63:
    localg.A();
    localg.gb();
  }
  
  public Action r()
  {
    return this.g.get(x);
  }
  
  Action t()
  {
    new AbstractAction(x.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.c((byte)2, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action u()
  {
    return this.g.get(y);
  }
  
  Action w()
  {
    new AbstractAction(y.toString())
    {
      public void actionPerformed(ActionEvent paramAnonymousActionEvent)
      {
        lc.this.c((byte)3, lc.this.a(paramAnonymousActionEvent));
      }
    };
  }
  
  public Action x()
  {
    return this.g.get(z);
  }
  
  public Action y()
  {
    return this.g.get(n);
  }
  
  public Action z()
  {
    return this.g.get(r);
  }
  
  public Action A()
  {
    return this.g.get(t);
  }
  
  public Action B()
  {
    return this.g.get(p);
  }
  
  public Action C()
  {
    return this.g.get(o);
  }
  
  public Action D()
  {
    return this.g.get(s);
  }
  
  public Action F()
  {
    return this.g.get(u);
  }
  
  public Action G()
  {
    return this.g.get(q);
  }
  
  Action H()
  {
    return new y_(this.a);
  }
  
  public Action I()
  {
    return this.g.get(F);
  }
  
  Action J()
  {
    return new s_(this.a);
  }
  
  public Action K()
  {
    return this.g.get(E);
  }
  
  Action L()
  {
    return new v_(this.a);
  }
  
  public Action M()
  {
    return this.g.get(A);
  }
  
  Action O()
  {
    return new u_(this.a);
  }
  
  public Action P()
  {
    return this.g.get(B);
  }
  
  Action Q()
  {
    return new t_(this.a);
  }
  
  public Action R()
  {
    return this.g.get(C);
  }
  
  Action S()
  {
    return new x_(this.a);
  }
  
  public Action T()
  {
    return this.g.get(D);
  }
  
  Action U()
  {
    return new w_(this.a);
  }
  
  protected final void c(pg parampg)
  {
    g localg = parampg.a();
    localg.bb();
    localg.gb();
  }
  
  public Action V()
  {
    return this.g.get(H);
  }
  
  Action W()
  {
    return new z_(this.a);
  }
  
  public Action X()
  {
    return this.g.get(I);
  }
  
  Action Y()
  {
    return new q_(this.a);
  }
  
  public Action Z()
  {
    return this.g.get(J);
  }
  
  Action ab()
  {
    return new p_(this.a);
  }
  
  private static ld a(g paramg, e parame)
  {
    ld localld = paramg.w(parame);
    if (!ld.E) {
      if ((localld instanceof qd)) {
        return ((qd)localld).i();
      }
    }
    return localld;
  }
  
  public Action bb()
  {
    return this.g.get(G);
  }
  
  Action cb()
  {
    new ab_()
    {
      protected pg a(ActionEvent paramAnonymousActionEvent)
      {
        return lc.this.a(paramAnonymousActionEvent);
      }
    };
  }
  
  public ActionMap db()
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    ActionMap localActionMap = new ActionMap();
    Object[] arrayOfObject = this.g.keys();
    do
    {
      for (int i1 = 0; !bool1; i1++)
      {
        if (i1 >= arrayOfObject.length) {
          break;
        }
        if (bool1) {
          break label70;
        }
        localActionMap.put(arrayOfObject[i1], this.g.get(arrayOfObject[i1]));
      }
    } while (bool2);
    label70:
    return localActionMap;
  }
  
  public InputMap eb()
  {
    return a(this.g);
  }
  
  public InputMap a(ActionMap paramActionMap)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    HashSet localHashSet = new HashSet();
    Object[] arrayOfObject = paramActionMap.keys();
    if (arrayOfObject != null)
    {
      i1 = 0;
      do
      {
        if (i1 >= arrayOfObject.length) {
          break;
        }
        localHashSet.add(arrayOfObject[i1]);
        i1++;
        if ((!bool2) && (bool1)) {
          break label74;
        }
      } while (!bool1);
    }
    int i1 = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
    label74:
    InputMap localInputMap = new InputMap();
    if (!bool2) {
      if (localHashSet.contains(j)) {
        localInputMap.put(KeyStroke.getKeyStroke(37, 0), j);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(h)) {
        localInputMap.put(KeyStroke.getKeyStroke(39, 0), h);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(l)) {
        localInputMap.put(KeyStroke.getKeyStroke(40, 0), l);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(k)) {
        localInputMap.put(KeyStroke.getKeyStroke(38, 0), k);
      }
    }
    int i2 = 8;
    if (!bool2) {
      if (localHashSet.contains(v)) {
        localInputMap.put(KeyStroke.getKeyStroke(37, i2), v);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(w)) {
        localInputMap.put(KeyStroke.getKeyStroke(39, i2), w);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(y)) {
        localInputMap.put(KeyStroke.getKeyStroke(40, i2), y);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(x)) {
        localInputMap.put(KeyStroke.getKeyStroke(38, i2), x);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(z)) {
        localInputMap.put(KeyStroke.getKeyStroke(127, 0), z);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(m)) {
        localInputMap.put(KeyStroke.getKeyStroke(65, i1), m);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(G)) {
        localInputMap.put(KeyStroke.getKeyStroke(113, 0), G);
      }
    }
    if (!bool2)
    {
      if (localHashSet.contains(i)) {
        localInputMap.put(KeyStroke.getKeyStroke(10, 0), i);
      }
      i2 = 10;
    }
    if (!bool2) {
      if (localHashSet.contains(t)) {
        localInputMap.put(KeyStroke.getKeyStroke(39, i2), t);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(r)) {
        localInputMap.put(KeyStroke.getKeyStroke(37, i2), r);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(s)) {
        localInputMap.put(KeyStroke.getKeyStroke(72, i2), s);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(o)) {
        localInputMap.put(KeyStroke.getKeyStroke(86, i2), o);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(n)) {
        localInputMap.put(KeyStroke.getKeyStroke(38, i2), n);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(p)) {
        localInputMap.put(KeyStroke.getKeyStroke(40, i2), p);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(F)) {
        localInputMap.put(KeyStroke.getKeyStroke(67, i2), F);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(E)) {
        localInputMap.put(KeyStroke.getKeyStroke(79, i2), E);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(A)) {
        localInputMap.put(KeyStroke.getKeyStroke(71, i2), A);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(B)) {
        localInputMap.put(KeyStroke.getKeyStroke(70, i2), B);
      }
    }
    if (!bool2) {
      if (localHashSet.contains(C)) {
        localInputMap.put(KeyStroke.getKeyStroke(85, i2), C);
      }
    }
    if (!bool2)
    {
      if (localHashSet.contains(D)) {
        localInputMap.put(KeyStroke.getKeyStroke(77, i2), D);
      }
      i2 = 3;
    }
    if (!bool2) {
      if (localHashSet.contains(q)) {
        localInputMap.put(KeyStroke.getKeyStroke(86, i2), q);
      }
    }
    if (localHashSet.contains(u)) {
      localInputMap.put(KeyStroke.getKeyStroke(72, i2), u);
    }
    return localInputMap;
  }
  
  protected void d(pg parampg)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = g(parampg);
    if ((bool2) || (localg.Q()))
    {
      a.c.w localw = localg.R();
      if ((bool2) || (localw.e()))
      {
        e locale = localw.d();
        qf localqf = null;
        nf localnf = null;
        Iterator localIterator = parampg.s();
        do
        {
          do
          {
            gf localgf;
            do
            {
              if (!localIterator.hasNext()) {
                break;
              }
              localgf = (gf)localIterator.next();
              if (!bool2) {
                if ((localgf instanceof nf)) {
                  localnf = (nf)localgf;
                }
              }
            } while (!(localgf instanceof qf));
            if (bool2) {
              break label216;
            }
            localqf = (qf)localgf;
            if (bool2) {
              break label229;
            }
            if (bool1) {
              break label214;
            }
          } while (bool2);
        } while (!bool1);
        if (((bool2) || (localnf != null)) && ((bool2) || (localnf.c())) && ((bool2) || (!localnf.v())))
        {
          if (!bool2)
          {
            if (localnf.a(locale)) {
              localnf.editNode(locale, null);
            }
          }
          else if (!bool1) {}
        }
        else {
          label214:
          label216:
          if ((bool2) || (localqf != null)) {
            label229:
            if (((bool2) || (localqf.c())) && ((bool2) || (!localqf.a()))) {
              localqf.editNode(locale, null);
            }
          }
        }
      }
    }
  }
  
  void a(byte paramByte, pg parampg)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = g(parampg);
    e locale1 = e(parampg);
    a.c.w localw1 = localg.v();
    double d1;
    if (locale1 == null)
    {
      d locald = f(parampg);
      if (locald != null)
      {
        d1 = 0.5D * (localg.m(locald.e()) + localg.m(locald.f()));
        d2 = 0.5D * (localg.n(locald.e()) + localg.n(locald.f()));
        localObject1 = new bb(locald.e());
        ((bb)localObject1).add(locald.f());
        localw1 = ((bb)localObject1).l();
        if (!bool1) {
          break label179;
        }
      }
      Object localObject1 = parampg.J();
      d1 = ((Point2D)localObject1).getX();
      d2 = ((Point2D)localObject1).getY();
      if (!bool2) {
        if (!bool1) {
          break label179;
        }
      }
    }
    else
    {
      d1 = localg.m(locale1);
    }
    double d2 = localg.n(locale1);
    label179:
    double d3 = 1.7976931348623157E+308D;
    Object localObject2 = null;
    a.c.w localw2 = localw1;
    if (localw2.e()) {}
    while (bool2)
    {
      e locale2 = localw2.d();
      double d4 = localg.m(locale2);
      double d5 = localg.n(locale2);
      double d6 = a(d1, d2, d4, d5, paramByte);
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool2)
      {
        if (d6 < d3) {
          if (!bool2)
          {
            if (locale2 != locale1) {
              d3 = d6;
            }
          }
          else {
            localObject2 = locale2;
          }
        }
        localw2.f();
      }
      if (!bool1) {
        break;
      }
    }
    if (localObject2 != null)
    {
      localg.V();
      localg.a(localObject2, true);
      parampg.a(parampg.M(), new Point2D.Double(localg.m(localObject2), localg.n(localObject2)), false);
      localg.gb();
    }
  }
  
  void a(pg parampg, boolean paramBoolean, byte paramByte)
  {
    g localg = g(parampg);
    bb localbb = new bb(localg.R());
    localg.z();
    localg.a(localbb.l());
    a.f.wc.a(localg, localbb, null, paramBoolean, paramByte);
    localg.A();
    localg.gb();
  }
  
  void c(byte paramByte, pg parampg)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = g(parampg);
    double d1 = 1.7976931348623157E+308D;
    Object localObject1 = null;
    a.d.w localw1 = null;
    e locale1 = e(parampg);
    Object localObject2;
    if ((bool2) || (locale1 != null))
    {
      this.K.put(parampg, new WeakReference(locale1));
      localw1 = localg.o(locale1);
      localObject2 = locale1.l();
    }
    while (((m)localObject2).e())
    {
      Object localObject3 = ((m)localObject2).a();
      if ((bool2) || (bool1)) {
        return;
      }
      Object localObject4;
      double d2;
      if (!bool2) {
        if (locale1 == ((d)localObject3).e())
        {
          localObject4 = localg.t((d)localObject3).x();
          if (localObject4 != null)
          {
            d2 = a(localw1.a, localw1.b, ((Point2D)localObject4).getX(), ((Point2D)localObject4).getY(), paramByte);
            if ((bool2) || (d2 < d1))
            {
              d1 = d2;
              localObject1 = localObject3;
            }
          }
        }
      }
      if (locale1 == ((d)localObject3).f())
      {
        localObject4 = localg.t((d)localObject3).y();
        if (bool2) {
          break label273;
        }
        if (localObject4 != null)
        {
          d2 = a(localw1.a, localw1.b, ((Point2D)localObject4).getX(), ((Point2D)localObject4).getY(), paramByte);
          if (bool2) {
            break label273;
          }
          if (d2 < d1)
          {
            d1 = d2;
            localObject1 = localObject3;
          }
        }
      }
      ((m)localObject2).f();
      label273:
      continue;
      localObject2 = f(parampg);
      if ((bool2) || (localObject2 != null))
      {
        localObject3 = ((d)localObject2).e();
        localObject4 = (WeakReference)this.K.get(parampg);
        if (!bool2) {}
        e locale2 = (e)(localObject4 != null ? ((WeakReference)localObject4).get() : null);
        if (!bool2) {
          if (locale2 != null)
          {
            if (!bool2) {
              if (locale2 != ((d)localObject2).e())
              {
                if (bool2) {
                  break label412;
                }
                if (locale2 != ((d)localObject2).f()) {
                  break label393;
                }
              }
            }
            if (bool2) {
              break label415;
            }
            localObject3 = locale2;
            if (bool1) {
              label393:
              label412:
              this.K.put(parampg, new WeakReference(locale1));
            }
          }
        }
        label415:
        Object localObject5 = localObject3;
        a.d.w localw2 = localg.o(localObject5);
        HashMap localHashMap = new HashMap();
        z localz = new z();
        Object localObject6 = localObject5.l();
        do
        {
          if (!((m)localObject6).e()) {
            break;
          }
          localObject7 = ((m)localObject6).a();
          localObject8 = localg.t((d)localObject7).S();
          if (!bool2) {
            if (((d)localObject7).e() == localObject5) {
              if (!bool2)
              {
                if (!localHashMap.containsValue(localObject7)) {
                  localHashMap.put(localObject8, localObject7);
                }
              }
              else {
                localz.add(localObject8);
              }
            }
          }
          if ((bool2) || (((d)localObject7).f() == localObject5))
          {
            if (bool2) {
              continue;
            }
            if (!((d)localObject7).g())
            {
              localObject8 = ye.a((GeneralPath)localObject8);
              localHashMap.put(localObject8, localObject7);
              localz.add(localObject8);
            }
          }
          ((m)localObject6).f();
        } while (!bool1);
        localObject6 = new AffineTransform();
        Object localObject7 = new double[6];
        Object localObject8 = new double[6];
        localz.a(new Comparator()
        {
          private final AffineTransform val$at;
          private final double[] val$cur1;
          private final double[] val$cur2;
          private final a.d.w val$pivotP;
          
          public int compare(Object paramAnonymousObject1, Object paramAnonymousObject2)
          {
            boolean bool2 = ld.E;
            boolean bool1 = ld.D;
            GeneralPath localGeneralPath1 = (GeneralPath)paramAnonymousObject1;
            GeneralPath localGeneralPath2 = (GeneralPath)paramAnonymousObject2;
            PathIterator localPathIterator1 = localGeneralPath1.getPathIterator(this.val$at, 1.0D);
            PathIterator localPathIterator2 = localGeneralPath2.getPathIterator(this.val$at, 1.0D);
            do
            {
              do
              {
                if (localPathIterator1.isDone()) {
                  break;
                }
                if (bool1) {
                  break label226;
                }
                if (localPathIterator2.isDone()) {
                  return -1;
                }
                localPathIterator1.currentSegment(this.val$cur1);
                localPathIterator2.currentSegment(this.val$cur2);
                double d1 = lc.this.a(this.val$cur1[0], this.val$cur1[1], this.val$pivotP.a, this.val$pivotP.b);
                double d2 = lc.this.a(this.val$cur2[0], this.val$cur2[1], this.val$pivotP.a, this.val$pivotP.b);
                if (!bool2) {
                  if (d1 < d2) {
                    return -1;
                  }
                }
                if (!bool2)
                {
                  if (d1 > d2) {
                    return 1;
                  }
                  localPathIterator1.next();
                  localPathIterator2.next();
                }
              } while (!bool1);
            } while (bool2);
            if (!localPathIterator2.isDone()) {
              label226:
              return 1;
            }
            return 0;
          }
        });
        y localy = localz.h();
        while (localy.e())
        {
          d locald = (d)localHashMap.get(localy.j());
          if (!bool2)
          {
            if (locald == localObject2)
            {
              if (!bool2)
              {
                if (paramByte != 1)
                {
                  if (bool2) {
                    break label767;
                  }
                  if (paramByte != 3) {}
                }
                else
                {
                  localy.f();
                  if (bool2) {
                    break label791;
                  }
                }
              }
              else
              {
                if (localy.e()) {
                  break label777;
                }
                localy.h();
                if (bool2) {
                  break label796;
                }
                if (!bool1) {
                  break label777;
                }
              }
              localy.g();
              if (!bool2) {
                if (!localy.e()) {
                  label767:
                  localy.i();
                }
              }
              label777:
              label791:
              locald = (d)localHashMap.get(localy.j());
              label796:
              if ((!bool2) && (localObject2 == locald)) {
                break;
              }
              localObject1 = locald;
              break;
            }
            localy.f();
          }
        }
      }
    }
    if (localObject1 != null)
    {
      localg.V();
      localg.a((d)localObject1, true);
      parampg.b();
    }
  }
  
  private double a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    double d1 = paramDouble3 - paramDouble1;
    double d2 = paramDouble4 - paramDouble2;
    return Math.atan2(d2, d1);
  }
  
  double a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4, byte paramByte)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    double d1 = paramDouble3 - paramDouble1;
    double d2 = paramDouble4 - paramDouble2;
    double d3 = 0.0D;
    double d4 = 0.0D;
    if (!bool2) {}
    switch (paramByte)
    {
    case 0: 
      d3 = -1.0D;
      if (!bool2)
      {
        d4 = 0.0D;
        if (!bool1) {
          break;
        }
      }
      break;
    case 1: 
      d3 = 1.0D;
      if (!bool2)
      {
        d4 = 0.0D;
        if (!bool1) {
          break;
        }
      }
      break;
    case 2: 
      d3 = 0.0D;
      if (!bool2)
      {
        d4 = -1.0D;
        if (!bool1) {
          break;
        }
      }
      break;
    case 3: 
      d3 = 0.0D;
      d4 = 1.0D;
    }
    double d5 = a.d.w.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4);
    if (!bool2) {
      if (d5 == 0.0D) {
        return d5;
      }
    }
    double d6 = (d3 * d1 + d4 * d2) / d5;
    double d7 = Math.acos(d6);
    if (!bool2) {
      if (d7 >= 1.570796326794897D) {
        return 1.7976931348623157E+308D;
      }
    }
    return a.d.w.a(paramDouble1, paramDouble2, paramDouble3, paramDouble4) * (1.0D + Math.pow(2.0D * d7 / 3.141592653589793D, 8.0D));
  }
  
  e e(pg parampg)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = g(parampg);
    a.c.w localw = localg.v();
    do
    {
      if (!localw.e()) {
        break;
      }
      e locale = localw.d();
      if (!bool2)
      {
        if (localg.y(locale)) {
          return locale;
        }
        localw.f();
      }
    } while (!bool1);
    return null;
  }
  
  d f(pg parampg)
  {
    boolean bool2 = ld.E;
    boolean bool1 = ld.D;
    g localg = g(parampg);
    m localm = localg.w();
    do
    {
      if (!localm.e()) {
        break;
      }
      d locald = localm.a();
      if (!bool2)
      {
        if (localg.v(locald)) {
          return locald;
        }
        localm.f();
      }
    } while (!bool1);
    return null;
  }
  
  g g(pg parampg)
  {
    return parampg.a();
  }
  
  static final class d_
    extends ArrayList
    implements PropertyChangeListener
  {
    public void propertyChange(PropertyChangeEvent paramPropertyChangeEvent)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      do
      {
        for (int i = 0; !bool1; i++)
        {
          if (i >= size()) {
            break;
          }
          ((PropertyChangeListener)get(i)).propertyChange(paramPropertyChangeEvent);
        }
      } while (bool2);
    }
  }
  
  private static class c_
    implements PropertyChangeListener
  {
    private final WeakReference a;
    private final WeakReference b;
    private final WeakReference c;
    
    c_(lc.ab_ paramab_, g paramg, hg paramhg)
    {
      this.a = new WeakReference(paramab_);
      this.b = new WeakReference(paramg);
      this.c = new WeakReference(paramhg);
    }
    
    public void propertyChange(PropertyChangeEvent paramPropertyChangeEvent)
    {
      a((lc.ab_)this.a.get(), (g)this.b.get(), (hg)this.c.get(), (String)paramPropertyChangeEvent.getNewValue());
    }
    
    private static void a(lc.ab_ paramab_, g paramg, hg paramhg, String paramString)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (paramg != null) {
        if (!bool2)
        {
          if (paramhg != null) {
            paramg.z();
          }
        }
        else {
          try
          {
            if (!bool2) {
              if ((paramhg instanceof jg)) {
                paramg.a(new bb(((jg)paramhg).gb()).l());
              }
            }
            if ((bool2) || ((bool1) && ((paramhg instanceof ig)))) {
              paramg.a(new ab(((ig)paramhg).lb()).l());
            }
            if (!bool2) {
              if (paramab_ == null)
              {
                paramhg.a(paramString);
                if (bool2) {
                  return;
                }
                if (!bool1) {
                  break label128;
                }
              }
            }
            paramab_.a(paramhg, paramString);
          }
          finally
          {
            label128:
            paramg.A();
          }
        }
      }
    }
  }
  
  public static class ab_
    extends AbstractAction
  {
    private final pg a;
    public static int b;
    
    public ab_()
    {
      this(null);
    }
    
    public ab_(pg parampg)
    {
      super();
      this.a = parampg;
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (localpg != null) {
        a(localpg);
      }
    }
    
    public void a(pg parampg)
    {
      hg localhg = b(parampg);
      if ((localhg == null) || (!a(parampg, localhg))) {
        return;
      }
      PropertyChangeListener localPropertyChangeListener = a();
      lc.c_ localc_ = new lc.c_(this, parampg.a(), localhg);
      Object localObject;
      if (localPropertyChangeListener != null)
      {
        lc.d_ locald_ = new lc.d_();
        locald_.add(localc_);
        locald_.add(localPropertyChangeListener);
        localObject = locald_;
        if (ld.E) {
          return;
        }
        if (!ld.D) {}
      }
      else
      {
        localObject = localc_;
      }
      a(parampg, localhg, (PropertyChangeListener)localObject, b());
    }
    
    protected PropertyChangeListener a()
    {
      Object localObject = getValue("PROPERTY_CHANGE_LISTENER");
      return (ld.E) || ((localObject instanceof PropertyChangeListener)) ? (PropertyChangeListener)localObject : null;
    }
    
    protected boolean b()
    {
      Object localObject = getValue("SINGLE_LINE_MODE");
      if (!ld.E) {}
      return (localObject instanceof Boolean) ? ((Boolean)localObject).booleanValue() : true;
    }
    
    protected void a(pg parampg, hg paramhg, PropertyChangeListener paramPropertyChangeListener, boolean paramBoolean)
    {
      a.d.w localw = paramhg.b(paramhg.P()).l();
      parampg.b(paramhg, localw.a, localw.b, paramPropertyChangeListener, paramBoolean, false);
    }
    
    protected pg a(ActionEvent paramActionEvent)
    {
      return lc.a(paramActionEvent, this.a);
    }
    
    protected hg b(pg parampg)
    {
      return a(parampg.a());
    }
    
    hg a(g paramg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      Object localObject1 = null;
      Object localObject2;
      Object localObject3;
      Object localObject4;
      if ((bool2) || (!paramg.P()))
      {
        localObject2 = paramg.T();
        if ((bool2) || (((y)localObject2).e()))
        {
          localObject1 = (hg)((y)localObject2).j();
        }
        else
        {
          localObject3 = paramg.R();
          Object localObject5;
          if ((bool2) || (((a.c.w)localObject3).e()))
          {
            localObject4 = ((a.c.w)localObject3).d();
            localObject5 = lc.a(paramg, (e)localObject4);
            if ((localObject5 instanceof a.j.b.f)) {
              localObject1 = a((a.j.b.f)localObject5);
            }
            if (bool2) {
              break label219;
            }
            if (localObject1 == null)
            {
              if (!bool2)
              {
                if (((ld)localObject5).x() > 0)
                {
                  if (bool2) {
                    break label219;
                  }
                  localObject1 = ((ld)localObject5).w();
                }
              }
              else {
                if (!bool1) {
                  break label218;
                }
              }
              localObject1 = a((ld)localObject5);
            }
          }
          else
          {
            localObject4 = paramg.S();
            if (((m)localObject4).e())
            {
              localObject5 = paramg.t(((m)localObject4).a());
              if ((bool2) || (((tb)localObject5).V() > 0)) {
                localObject1 = ((tb)localObject5).U();
              } else {
                localObject1 = a((tb)localObject5);
              }
            }
          }
        }
      }
      label218:
      label219:
      if (!bool2) {
        if (localObject1 == null)
        {
          localObject2 = paramg.v();
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            localObject3 = ((a.c.w)localObject2).d();
            localObject4 = lc.a(paramg, (e)localObject3);
            if (!bool2) {
              if ((localObject4 instanceof a.j.b.f))
              {
                localObject1 = a((a.j.b.f)localObject4);
                if (!bool2) {
                  if (localObject1 != null) {
                    break;
                  }
                }
              }
              else
              {
                ((a.c.w)localObject2).f();
              }
            }
          } while (!bool1);
        }
      }
      return localObject1;
    }
    
    protected ig a(tb paramtb)
    {
      return paramtb.U();
    }
    
    protected jg a(ld paramld)
    {
      return paramld.w();
    }
    
    protected jg a(a.j.b.f paramf, f.n_ paramn_)
    {
      jg localjg = paramf.v();
      paramf.b(localjg);
      paramf.a(localjg, paramn_, true, 0.0D);
      return localjg;
    }
    
    protected jg a(a.j.b.f paramf, f.p_ paramp_)
    {
      jg localjg = paramf.v();
      paramf.b(localjg);
      paramf.a(localjg, paramp_, true, 0.0D);
      return localjg;
    }
    
    jg a(a.j.b.f paramf)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      Collection localCollection1 = paramf.eb().b();
      Collection localCollection2 = paramf.eb().c();
      int i;
      if ((bool2) || (localCollection1.size() + localCollection2.size() > 0)) {
        i = 0;
      }
      while (i < paramf.x())
      {
        jg localjg = paramf.b(i);
        if (bool1) {
          break label171;
        }
        Object localObject;
        if ((localjg.a() instanceof f.f_))
        {
          localObject = f.f_.a(localjg);
          if (bool2) {
            break label160;
          }
          if (localCollection1.contains(localObject)) {
            return localjg;
          }
        }
        else
        {
          if (bool2) {
            break label160;
          }
          if ((localjg.a() instanceof f.e_))
          {
            localObject = f.e_.a(localjg);
            if (bool2) {
              break label160;
            }
            if (localCollection2.contains(localObject)) {
              return localjg;
            }
          }
        }
        i++;
        if (bool1) {
          label160:
          return null;
        }
      }
      if (localCollection1.size() > 0) {
        label171:
        return a(paramf, (f.p_)localCollection1.iterator().next());
      }
      if (localCollection2.size() > 0) {
        return a(paramf, (f.n_)localCollection2.iterator().next());
      }
      return null;
    }
    
    protected void a(hg paramhg, String paramString)
    {
      paramhg.a(paramString);
    }
    
    private static boolean a(pg parampg, hg paramhg)
    {
      Rectangle localRectangle = parampg.getVisibleRect();
      return t.a(paramhg.c(), new t(localRectangle.x, localRectangle.y, localRectangle.width, localRectangle.height));
    }
  }
  
  static class o_
    extends AbstractAction
  {
    pg a;
    boolean c;
    
    public o_(pg parampg, boolean paramBoolean)
    {
      this.a = parampg;
      this.c = paramBoolean;
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      g localg = parampg.a();
      bb localbb1 = a(localg);
      if (!ld.E)
      {
        if (!localbb1.isEmpty()) {
          localg.z();
        }
      }
      else
      {
        try
        {
          bb localbb2 = a(localg, localbb1);
          a(localg, localbb2, localbb1);
          c(localg, localbb2, localbb1);
        }
        finally
        {
          localg.A();
        }
        parampg.L();
        parampg.b();
      }
    }
    
    protected bb a(g paramg, bb parambb)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      bb localbb = new bb();
      if (!bool2) {
        if (parambb.size() > 0)
        {
          e locale1 = paramg.i();
          localbb.add(locale1);
          x localx = paramg.B();
          ArrayList localArrayList = new ArrayList();
          j localj = paramg.K();
          int i = 0;
          a.c.w localw = parambb.l();
          Object localObject1;
          label131:
          label132:
          Object localObject2;
          label221:
          do
          {
            if (!localw.e()) {
              break;
            }
            localObject1 = localw.d();
            if (bool1) {
              break label239;
            }
            if (this.c)
            {
              if (bool2) {
                break label131;
              }
              paramg.a((e)localObject1, locale1);
              if (!bool1) {
                break label132;
              }
            }
            paramg.a(locale1, (e)localObject1);
            if (!bool2) {}
            localObject2 = localj == null ? null : localj.p((e)localObject1);
            if (!bool2)
            {
              if (localObject2 == null) {
                i++;
              }
            }
            else
            {
              if (bool2) {
                continue;
              }
              if (!bool1) {
                break label221;
              }
            }
            int k = localx.getInt(localObject2);
            if ((bool2) || (k == 0)) {
              localArrayList.add(localObject2);
            }
            localx.a(localObject2, ++k);
            localw.f();
          } while (!bool1);
          if (!bool2)
          {
            label239:
            int j = 0;
            localObject1 = null;
            localObject2 = localArrayList.iterator();
            do
            {
              e locale2;
              int m;
              do
              {
                if (!((Iterator)localObject2).hasNext()) {
                  break;
                }
                locale2 = (e)((Iterator)localObject2).next();
                m = localx.getInt(locale2);
              } while (j >= m);
              j = m;
              localObject1 = locale2;
              if (bool2) {
                break label326;
              }
              if ((!bool2) && (bool1)) {
                return localbb;
              }
            } while ((!bool2) && (!bool1));
            label326:
            if (j > i) {
              localj.b(localbb, (e)localObject1);
            }
          }
        }
      }
      return localbb;
    }
    
    protected bb a(g paramg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      bb localbb = new bb();
      a.c.w localw = paramg.v();
      do
      {
        if (!localw.e()) {
          break;
        }
        e locale = localw.d();
        if (!bool2)
        {
          if (paramg.y(locale)) {
            localbb.add(locale);
          }
          localw.f();
        }
      } while (!bool1);
      return localbb;
    }
    
    protected void a(g paramg, bb parambb1, bb parambb2)
    {
      wc.a(paramg, parambb1);
    }
    
    protected void c(g paramg, bb parambb1, bb parambb2)
    {
      boolean bool = ld.D;
      paramg.V();
      a.c.w localw = parambb1.l();
      do
      {
        if (!localw.e()) {
          break;
        }
        e locale = localw.d();
        paramg.a(locale, true);
        localw.f();
      } while (!bool);
    }
    
    protected pg a(ActionEvent paramActionEvent)
    {
      return lc.a(paramActionEvent, this.a);
    }
  }
  
  public static class q_
    extends lc.o_
  {
    public static int b;
    
    public q_(pg parampg)
    {
      super(true);
    }
  }
  
  public static class p_
    extends lc.o_
  {
    public static int b;
    
    public p_(pg parampg)
    {
      super(false);
    }
  }
  
  public static class z_
    extends AbstractAction
  {
    private pg a;
    private wc b;
    public static int c;
    
    public z_(pg parampg)
    {
      this.a = parampg;
      this.b = new wc(this);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      g localg = parampg.a();
      localg.z();
      try
      {
        this.b.a(localg);
      }
      finally
      {
        localg.A();
      }
      parampg.L();
      localg.gb();
    }
    
    protected void a(g paramg, bb parambb, ab paramab, Map paramMap1, Map paramMap2)
    {
      this.b.a(paramg, parambb, paramab, paramMap1, paramMap2);
    }
    
    protected bb a(g paramg)
    {
      return this.b.b(paramg);
    }
    
    protected ab b(g paramg)
    {
      return this.b.d(paramg);
    }
    
    protected void b(g paramg, bb parambb, ab paramab, Map paramMap1, Map paramMap2)
    {
      this.b.c(paramg, parambb, paramab, paramMap1, paramMap2);
    }
    
    protected void c(g paramg, bb parambb, ab paramab, Map paramMap1, Map paramMap2)
    {
      this.b.a(paramg, parambb, paramab);
    }
    
    protected void a(g paramg, List paramList1, List paramList2, Map paramMap1, Map paramMap2)
    {
      this.b.a(paramg, paramList1, paramList2, paramMap1, paramMap2);
    }
    
    protected List c(g paramg)
    {
      return this.b.f(paramg);
    }
    
    protected List d(g paramg)
    {
      return this.b.g(paramg);
    }
    
    protected void b(g paramg, List paramList1, List paramList2, Map paramMap1, Map paramMap2)
    {
      this.b.a(paramList1, paramList2);
    }
    
    protected void c(g paramg, List paramList1, List paramList2, Map paramMap1, Map paramMap2)
    {
      this.b.a(paramg, paramList1, paramList2);
    }
    
    protected pg a(ActionEvent paramActionEvent)
    {
      return lc.a(paramActionEvent, this.a);
    }
  }
  
  public static class w_
    extends lc.r_
  {
    public static int b;
    
    public w_()
    {
      this(null);
    }
    
    public w_(pg parampg)
    {
      super(parampg);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      j localj = a(localg);
      if (localj != null)
      {
        bb localbb = new bb();
        Object localObject1 = localg.v();
        Object localObject2;
        do
        {
          if (!((a.c.w)localObject1).e()) {
            break;
          }
          localObject2 = ((a.c.w)localObject1).d();
          if ((!bool2) && (bool1)) {
            return;
          }
          if (!bool2)
          {
            if (a(localg, (e)localObject2)) {
              localbb.add(localObject2);
            }
            ((a.c.w)localObject1).f();
          }
        } while (!bool1);
        localObject1 = new bb(localg.R());
        if (!bool2)
        {
          if (!bool2) {
            if ((!localbb.isEmpty()) && (!localj.h(localg)))
            {
              localg.z();
              try
              {
                localObject2 = a(localbb, localg);
                localj.a(localg, localbb);
                a((ab)localObject2, localg);
              }
              finally
              {
                localg.A();
              }
            }
          }
          localObject2 = ((bb)localObject1).l();
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            e locale = ((a.c.w)localObject2).d();
            if (!bool2)
            {
              if (b()) {
                localg.a(locale, true);
              }
              ((a.c.w)localObject2).f();
            }
          } while (!bool1);
        }
      }
    }
    
    protected boolean a(g paramg, e parame)
    {
      return paramg.y(parame);
    }
    
    protected ab a(bb parambb, g paramg)
    {
      return new ab();
    }
    
    protected void a(ab paramab, g paramg) {}
  }
  
  public static class x_
    extends lc.r_
  {
    public static int b;
    
    public x_()
    {
      this(null);
    }
    
    public x_(pg parampg)
    {
      super(parampg);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      j localj = a(localg);
      if (localj != null)
      {
        bb localbb = new bb();
        Object localObject1 = localg.v();
        Object localObject2;
        do
        {
          if (!((a.c.w)localObject1).e()) {
            break;
          }
          localObject2 = ((a.c.w)localObject1).d();
          if ((!bool2) && (bool1)) {
            return;
          }
          if (!bool2)
          {
            if (a(localg, (e)localObject2)) {
              localbb.add(localObject2);
            }
            ((a.c.w)localObject1).f();
          }
        } while (!bool1);
        localObject1 = new bb(localg.R());
        if (!bool2)
        {
          if (!bool2) {
            if (!localbb.isEmpty())
            {
              localg.z();
              try
              {
                localObject2 = a(localbb, localg);
                localj.b(localbb);
                a((ab)localObject2, localg);
              }
              finally
              {
                localg.A();
              }
            }
          }
          localObject2 = ((bb)localObject1).l();
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            e locale = ((a.c.w)localObject2).d();
            if (!bool2)
            {
              if (b()) {
                localg.a(locale, true);
              }
              ((a.c.w)localObject2).f();
            }
          } while (!bool1);
        }
      }
    }
    
    protected boolean a(g paramg, e parame)
    {
      return paramg.y(parame);
    }
    
    protected ab a(bb parambb, g paramg)
    {
      return new ab();
    }
    
    protected void a(ab paramab, g paramg) {}
  }
  
  public static class t_
    extends lc.r_
  {
    private boolean b = false;
    public static boolean f;
    
    public t_()
    {
      this(null);
    }
    
    public t_(pg parampg)
    {
      super(parampg);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      j localj = a(localg);
      if (localj != null)
      {
        bb localbb = new bb();
        Object localObject = localg.v();
        do
        {
          if (!((a.c.w)localObject).e()) {
            break;
          }
          if (bool2) {
            break label116;
          }
          e locale = ((a.c.w)localObject).d();
          if (bool1) {
            break label110;
          }
          if (!bool2)
          {
            if (a(localg, locale)) {
              localbb.add(locale);
            }
            ((a.c.w)localObject).f();
          }
        } while (!bool1);
        if (!bool2)
        {
          label110:
          label116:
          localObject = a(localbb, parampg);
          if ((b()) && (localObject != null)) {
            localg.a((e)localObject, true);
          }
        }
      }
    }
    
    protected e a(bb parambb, pg parampg)
    {
      boolean bool = ld.E;
      g localg = parampg.a();
      localg.z();
      try
      {
        e locale1 = null;
        if ((bool) || (parambb.isEmpty()))
        {
          if ((bool) || (c())) {
            locale1 = b(parampg);
          }
        }
        else {
          locale1 = b(parambb, parampg);
        }
        e locale2 = locale1;
        return locale2;
      }
      finally
      {
        localg.A();
      }
    }
    
    protected e b(pg parampg)
    {
      g localg = parampg.a();
      j localj = a(localg);
      e locale = localj.b(localg);
      double d1 = parampg.J().getX();
      double d2 = parampg.J().getY();
      localg.a(locale, d1, d2);
      a(locale, parampg);
      return locale;
    }
    
    protected e b(bb parambb, pg parampg)
    {
      g localg = parampg.a();
      j localj = a(localg);
      e locale1 = localj.a(parambb);
      e locale2 = localj.c(locale1);
      localj.c(parambb, locale2);
      a(locale2, parampg);
      ld localld = localg.w(locale2);
      localld.b(new Rectangle2D.Double());
      a(locale2, localg);
      localj.g(locale2);
      a(localg.w(locale2));
      b(locale2, localg);
      return locale2;
    }
    
    protected void a(ld paramld)
    {
      boolean bool = ld.E;
      if (!bool)
      {
        if ((paramld instanceof qd))
        {
          localObject = (qd)paramld;
          paramld = ((qd)localObject).f(1);
          ((qd)localObject).d(paramld);
          if (bool) {
            break label123;
          }
          if ((paramld instanceof a.j.a.f))
          {
            if (bool) {
              break label123;
            }
            if (!((a.j.a.f)paramld).h())
            {
              if (bool) {
                break label123;
              }
              ((a.j.a.f)paramld).b(true);
              if (!ld.D) {}
            }
          }
        }
        else
        {
          if (bool) {
            break label123;
          }
        }
      }
      else if ((paramld instanceof a.j.a.f))
      {
        if (bool) {
          break label123;
        }
        if (!((a.j.a.f)paramld).h()) {
          ((a.j.a.f)paramld).b(true);
        }
      }
      label123:
      Object localObject = paramld.S();
      e locale = paramld.n();
      g localg = (g)((g)localObject).K().o(locale);
      Rectangle localRectangle = localg.d();
      ((g)localObject).b(locale, localRectangle.width + 10, localRectangle.height + 10);
      ((g)localObject).c(locale, localRectangle.x - 5, localRectangle.y - 5);
    }
    
    protected void a(e parame, pg parampg)
    {
      boolean bool = ld.E;
      ld localld = parampg.a().w(parame);
      if (!bool) {
        if ((localld instanceof qd))
        {
          qd localqd = (qd)localld;
          localqd.f(0).b(c(parame, parampg));
          if (bool) {
            break label80;
          }
          localqd.f(1).b(b(parame, parampg));
          if (!ld.D) {
            return;
          }
        }
      }
      label80:
      localld.b(c(parame, parampg));
    }
    
    protected String b(e parame, pg parampg)
    {
      return "Folder";
    }
    
    protected String c(e parame, pg parampg)
    {
      return "Group";
    }
    
    protected boolean a(g paramg, e parame)
    {
      return paramg.y(parame);
    }
    
    public boolean c()
    {
      return this.b;
    }
    
    public void b(boolean paramBoolean)
    {
      this.b = paramBoolean;
    }
  }
  
  public static class u_
    extends lc.r_
  {
    private boolean b = false;
    public static boolean f;
    
    public u_()
    {
      this(null);
    }
    
    public u_(pg parampg)
    {
      super(parampg);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      j localj = a(localg);
      if (localj != null)
      {
        bb localbb = new bb();
        Object localObject1 = localg.v();
        Object localObject2;
        do
        {
          if (!((a.c.w)localObject1).e()) {
            break;
          }
          localObject2 = ((a.c.w)localObject1).d();
          if ((!bool2) && (bool1)) {
            return;
          }
          if (!bool2)
          {
            if (a(localg, (e)localObject2)) {
              localbb.add(localObject2);
            }
            ((a.c.w)localObject1).f();
          }
        } while (!bool1);
        localObject1 = new bb(localg.R());
        a(localbb, parampg);
        if (!bool2)
        {
          localObject2 = ((bb)localObject1).l();
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            e locale = ((a.c.w)localObject2).d();
            if (!bool2)
            {
              if (b()) {
                localg.a(locale, true);
              }
              ((a.c.w)localObject2).f();
            }
          } while (!bool1);
        }
      }
    }
    
    protected e a(bb parambb, pg parampg)
    {
      boolean bool = ld.E;
      g localg = parampg.a();
      localg.z();
      try
      {
        e locale1 = null;
        if ((bool) || (parambb.isEmpty()))
        {
          if ((bool) || (c())) {
            locale1 = b(parampg);
          }
        }
        else {
          locale1 = b(parambb, parampg);
        }
        if (!bool) {
          if (locale1 != null) {
            a(locale1, parampg);
          }
        }
        e locale2 = locale1;
        return locale2;
      }
      finally
      {
        localg.A();
      }
    }
    
    protected void a(e parame, pg parampg)
    {
      boolean bool = ld.E;
      ld localld = parampg.a().w(parame);
      if (!bool) {
        if ((localld instanceof qd))
        {
          qd localqd = (qd)localld;
          localqd.f(0).b(c(parame, parampg));
          if (bool) {
            break label80;
          }
          localqd.f(1).b(b(parame, parampg));
          if (!ld.D) {
            return;
          }
        }
      }
      label80:
      localld.b(c(parame, parampg));
    }
    
    protected String b(e parame, pg parampg)
    {
      return "Folder";
    }
    
    protected String c(e parame, pg parampg)
    {
      return "Group";
    }
    
    protected e b(pg parampg)
    {
      g localg = parampg.a();
      e locale = a(localg).c(localg);
      double d1 = parampg.J().getX();
      double d2 = parampg.J().getY();
      localg.a(locale, d1, d2);
      return locale;
    }
    
    protected e b(bb parambb, pg parampg)
    {
      g localg = parampg.a();
      e locale1 = a(localg).a(parambb);
      e locale2 = a(localg).c(locale1);
      a(locale2, localg);
      a(localg).c(parambb, locale2);
      b(locale2, localg);
      return locale2;
    }
    
    protected boolean a(g paramg, e parame)
    {
      return paramg.y(parame);
    }
    
    protected void a(e parame, g paramg) {}
    
    protected void b(e parame, g paramg) {}
    
    public boolean c()
    {
      return this.b;
    }
    
    public void b(boolean paramBoolean)
    {
      this.b = paramBoolean;
    }
  }
  
  public static class v_
    extends lc.r_
  {
    private boolean b;
    public static boolean f;
    
    public v_()
    {
      this(null);
    }
    
    public v_(pg parampg)
    {
      super(parampg);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (localpg != null) {
        a(localpg);
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      j localj = a(localg);
      if (localj != null)
      {
        bb localbb = new bb();
        Object localObject1 = localg.v();
        Object localObject2;
        do
        {
          if (!((a.c.w)localObject1).e()) {
            break;
          }
          localObject2 = ((a.c.w)localObject1).d();
          if ((!bool2) && (bool1)) {
            return;
          }
          if (!bool2)
          {
            if (a(localg, (e)localObject2)) {
              localbb.add(localObject2);
            }
            ((a.c.w)localObject1).f();
          }
        } while (!bool1);
        localObject1 = new bb(localg.R());
        localg.z();
        try
        {
          localg.a(localbb.l());
          if (bool2) {
            return;
          }
          localObject2 = localbb.l();
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            e locale1 = ((a.c.w)localObject2).d();
            e locale2 = localj.p(locale1);
            if (bool1) {
              break label314;
            }
            if (locale2 != null)
            {
              b localb = localg.w(locale2).K();
              if ((bool2) || (localb != null)) {
                if (bool2) {}
              }
              int i = localb.e() ? 1 : 0;
              if (!bool2) {
                if (i != 0) {
                  localb.a(false);
                }
              }
              try
              {
                c(locale1, localg);
                if (bool2) {
                  continue;
                }
              }
              finally
              {
                if (i != 0) {
                  localb.a(true);
                }
              }
            }
            else
            {
              c(locale1, localg);
            }
            ((a.c.w)localObject2).f();
          } while (!bool1);
          if (bool2) {
            break label351;
          }
        }
        finally
        {
          label314:
          localg.A();
        }
        if (b())
        {
          localObject2 = ((bb)localObject1).l();
          label351:
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            localg.a(((a.c.w)localObject2).d(), true);
            ((a.c.w)localObject2).f();
          } while (!bool1);
        }
      }
    }
    
    protected boolean a(g paramg, e parame)
    {
      boolean bool = ld.E;
      j localj = a(paramg);
      if ((bool) || (paramg.y(parame))) {
        if (bool) {}
      }
      return localj.l(parame);
    }
    
    public void c(e parame, g paramg)
    {
      paramg.z();
      try
      {
        a(parame, paramg);
        c(paramg, parame);
        b(parame, paramg);
      }
      finally
      {
        paramg.A();
      }
      paramg.gb();
    }
    
    private void c(g paramg, e parame)
    {
      boolean bool = ld.E;
      j localj = a(paramg);
      g localg = (g)localj.o(parame);
      a.d.w localw = paramg.r(parame);
      bb localbb = new bb(localg.v());
      localj.h(parame);
      ld localld = paramg.w(parame);
      a(localld);
      localld.b(new Rectangle2D.Double());
      Rectangle2D.Double localDouble = localld.O();
      if (!bool)
      {
        if (localbb.size() > 0)
        {
          localbb.add(parame);
          if (bool) {
            break label142;
          }
          a.f.wc.b(paramg, localbb.l(), localw.a - localDouble.x, localw.b - localDouble.y);
        }
      }
      else if (!ld.D) {
        return;
      }
      label142:
      a.f.wc.a(paramg, parame, localw.a - localDouble.x, localw.b - localDouble.y);
    }
    
    protected void a(ld paramld)
    {
      boolean bool2 = ld.E;
      if (!bool2) {
        if ((paramld instanceof qd))
        {
          qd localqd = (qd)paramld;
          boolean bool1 = localqd.H();
          paramld = localqd.f(0);
          localqd.d(paramld);
          if (!bool2) {
            if (c()) {
              localqd.e(bool1);
            }
          }
          if ((!bool2) && (!(paramld instanceof a.j.a.f))) {
            return;
          }
          if (!bool2)
          {
            if (!((a.j.a.f)paramld).h()) {
              return;
            }
            ((a.j.a.f)paramld).b(false);
          }
          if ((!bool2) && (!ld.D)) {
            return;
          }
        }
      }
      if ((bool2) || (((paramld instanceof a.j.a.f)) && ((bool2) || (((a.j.a.f)paramld).h())))) {
        ((a.j.a.f)paramld).b(false);
      }
    }
    
    public boolean c()
    {
      return this.b;
    }
    
    public void b(boolean paramBoolean)
    {
      this.b = paramBoolean;
    }
  }
  
  public static class s_
    extends lc.r_
  {
    private boolean b;
    private boolean f = false;
    public static boolean g;
    
    public boolean c()
    {
      return this.f;
    }
    
    public void b(boolean paramBoolean)
    {
      this.f = paramBoolean;
    }
    
    public s_()
    {
      this(null);
    }
    
    public s_(pg parampg)
    {
      super(parampg);
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (localpg != null) {
        a(localpg);
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      j localj = a(localg);
      if (localj != null)
      {
        bb localbb1 = new bb();
        e locale1 = localj.f(localg);
        a(localj, locale1, localbb1, localg);
        bb localbb2 = new bb(localg.R());
        localg.z();
        Object localObject1;
        Object localObject2;
        try
        {
          localObject1 = new HashSet(localbb1);
          localObject2 = new bb(localbb1);
          a.c.w localw = localbb1.l();
          e locale2;
          do
          {
            do
            {
              if (!localw.e()) {
                break;
              }
              locale2 = localj.p(localw.d());
              if (bool2) {
                break label210;
              }
              if (bool1) {
                break label208;
              }
              if (locale2 != null)
              {
                if (bool2) {
                  continue;
                }
                if (((HashSet)localObject1).add(locale2)) {
                  ((bb)localObject2).add(locale2);
                }
              }
              localw.f();
            } while (!bool1);
            localg.a(((bb)localObject2).l());
          } while (bool2);
          localw = localbb1.l();
          label208:
          label210:
          do
          {
            if (!localw.e()) {
              break;
            }
            locale2 = localw.d();
            if (bool1) {
              break label268;
            }
            if (localg.h(locale2)) {
              c(locale2, localg);
            }
            localw.f();
          } while (!bool1);
          localg.A();
          if (bool2) {
            return;
          }
        }
        finally
        {
          localg.A();
        }
        if (b())
        {
          label268:
          localObject1 = localbb2.l();
          do
          {
            if (!((a.c.w)localObject1).e()) {
              break;
            }
            localObject2 = ((a.c.w)localObject1).d();
            if (!bool2)
            {
              if (localg.h((e)localObject2)) {
                localg.a((e)localObject2, true);
              }
              ((a.c.w)localObject1).f();
            }
          } while (!bool1);
        }
      }
    }
    
    private void a(j paramj, e parame, bb parambb, g paramg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      a.c.w localw = paramj.r(parame);
      label97:
      do
      {
        if (!localw.e()) {
          break;
        }
        e locale = localw.d();
        if (!bool2) {
          if (a(paramg, locale))
          {
            if (!bool2)
            {
              if (this.f)
              {
                if (bool2) {
                  break label97;
                }
                if (paramj.m(locale)) {
                  a(paramj, locale, parambb, paramg);
                }
              }
              parambb.add(locale);
            }
            if (bool2) {
              continue;
            }
            if (!bool1) {
              break label129;
            }
          }
        }
        if (!bool2)
        {
          if (paramj.m(locale)) {
            a(paramj, locale, parambb, paramg);
          }
          localw.f();
        }
      } while (!bool1);
      label129:
    }
    
    protected boolean a(g paramg, e parame)
    {
      boolean bool = ld.E;
      j localj = a(paramg);
      if ((bool) || (paramg.y(parame))) {
        if (bool) {}
      }
      return localj.m(parame);
    }
    
    public void c(e parame, g paramg)
    {
      boolean bool = ld.E;
      paramg.z();
      try
      {
        j localj = a(paramg);
        e locale = localj.p(parame);
        b localb = null;
        int i = 0;
        if (locale != null)
        {
          localb = paramg.w(locale).K();
          if ((bool) || (localb != null)) {
            if (bool) {}
          }
          i = localb.e() ? 1 : 0;
          if (bool) {
            break label119;
          }
          if (i != 0) {
            localb.a(false);
          }
        }
        try
        {
          a(parame, paramg);
          b(paramg, parame);
          b(parame, paramg);
          if (bool) {}
        }
        finally
        {
          label119:
          if (i != 0) {
            localb.a(true);
          }
        }
      }
      finally
      {
        paramg.A();
      }
      paramg.gb();
    }
    
    private void b(g paramg, e parame)
    {
      a(paramg).g(parame);
      a(paramg.w(parame));
    }
    
    protected void a(ld paramld)
    {
      boolean bool2 = ld.E;
      if (!bool2) {
        if ((paramld instanceof qd))
        {
          qd localqd = (qd)paramld;
          boolean bool1 = localqd.H();
          paramld = localqd.f(1);
          localqd.d(paramld);
          if (!bool2)
          {
            if (d()) {
              localqd.e(bool1);
            }
            paramld.a(localqd.f(0).a(), localqd.f(0).b());
          }
          if ((!bool2) && (!(paramld instanceof a.j.a.f))) {
            return;
          }
          if (!bool2)
          {
            if (((a.j.a.f)paramld).h()) {
              return;
            }
            ((a.j.a.f)paramld).b(true);
          }
          if ((!bool2) && (!ld.D)) {
            return;
          }
        }
      }
      if ((bool2) || (((paramld instanceof a.j.a.f)) && ((bool2) || (!((a.j.a.f)paramld).h())))) {
        ((a.j.a.f)paramld).b(true);
      }
    }
    
    public boolean d()
    {
      return this.b;
    }
    
    public void c(boolean paramBoolean)
    {
      this.b = paramBoolean;
    }
  }
  
  public static abstract class r_
    extends AbstractAction
  {
    protected final pg a;
    private td c = new sd();
    private boolean d = true;
    public static boolean e;
    
    protected r_(String paramString, pg parampg)
    {
      super();
      this.a = parampg;
    }
    
    public td a()
    {
      return this.c;
    }
    
    public void a(td paramtd)
    {
      this.c = paramtd;
    }
    
    protected j a(g paramg)
    {
      return j.a(paramg);
    }
    
    protected pg a(ActionEvent paramActionEvent)
    {
      return lc.a(paramActionEvent, this.a);
    }
    
    public boolean b()
    {
      return this.d;
    }
    
    public void a(boolean paramBoolean)
    {
      this.d = paramBoolean;
    }
    
    protected void a(e parame, g paramg)
    {
      td localtd = a();
      if ((ld.E) || (localtd != null)) {
        localtd.a(parame);
      }
    }
    
    protected void b(e parame, g paramg)
    {
      td localtd = a();
      if ((ld.E) || (localtd != null)) {
        localtd.b(parame);
      }
    }
  }
  
  public static class y_
    extends AbstractAction
  {
    public static final int a = 1;
    public static final int b = 2;
    public static final int c = 4;
    public static final int d = 8;
    public static final int e = 16;
    public static final int f = 32;
    public static final int g = 64;
    public static final int h = 128;
    public static final int i = 256;
    public static final int j = 512;
    public static final int k = 56;
    private static final int l = 639;
    public static final int m = 1023;
    private final pg n;
    private int o;
    private boolean p;
    private boolean q;
    private Map r;
    private Map s;
    private Map t;
    private Set u;
    private boolean v;
    public static boolean w;
    
    public y_()
    {
      this(null);
    }
    
    public y_(pg parampg)
    {
      super();
      this.n = parampg;
      this.o = 639;
    }
    
    public int a()
    {
      return this.o;
    }
    
    public void a(int paramInt)
    {
      this.o = paramInt;
    }
    
    public boolean b()
    {
      return this.p;
    }
    
    public void a(boolean paramBoolean)
    {
      this.p = paramBoolean;
    }
    
    public boolean c()
    {
      return this.v;
    }
    
    public void b(boolean paramBoolean)
    {
      this.v = paramBoolean;
    }
    
    protected boolean a(d paramd, ig paramig)
    {
      boolean bool = ld.E;
      if ((bool) || ((a() & 0x4) == 4)) {
        if (bool) {}
      }
      return paramig.i();
    }
    
    protected boolean a(d paramd, eb parameb)
    {
      boolean bool = ld.E;
      if ((bool) || ((a() & 0x1) == 1)) {
        if (bool) {}
      }
      return parameb.d();
    }
    
    protected boolean a(g paramg, d paramd)
    {
      boolean bool = ld.E;
      if (!bool) {
        if ((a() & 0x2) == 2)
        {
          if (bool) {
            break label59;
          }
          if (paramg.v(paramd)) {
            break label58;
          }
        }
      }
      if (!bool) {
        if (!a(paramg, paramd, true)) {
          if (bool) {
            break label59;
          }
        }
      }
      label58:
      label59:
      return a(paramg, paramd, false);
    }
    
    private boolean a(g paramg, d paramd, boolean paramBoolean)
    {
      jd localjd = jd.a(paramg, paramd, paramBoolean);
      if (localjd != null) {
        if (ld.E) {}
      }
      return a(paramBoolean ? paramd.e() : paramd.f(), localjd);
    }
    
    protected boolean a(e parame, jg paramjg)
    {
      boolean bool = ld.E;
      if ((bool) || ((a() & 0x40) == 64)) {
        if (!bool) {
          if (!paramjg.i())
          {
            if (!bool) {
              if (this.r.containsKey(paramjg))
              {
                if (bool) {
                  break label158;
                }
                if (a(parame, (f.n_)this.r.get(paramjg))) {
                  break label157;
                }
              }
            }
            if (!bool) {
              if (this.s.containsKey(paramjg))
              {
                if (bool) {
                  break label158;
                }
                if (a(parame, (f.p_)this.s.get(paramjg))) {
                  break label157;
                }
              }
            }
            if ((!bool) && (!this.t.containsKey(paramjg))) {
              break label161;
            }
            if (bool) {
              break label158;
            }
          }
        }
      }
      label157:
      label158:
      label161:
      return a(parame, (jd)this.t.get(paramjg));
    }
    
    protected boolean a(e parame, f.n_ paramn_)
    {
      boolean bool2 = ld.E;
      if ((bool2) || ((a() & 0x80) == 128)) {
        if (bool2) {}
      }
      boolean bool1 = paramn_.e();
      this.q |= bool1;
      return bool1;
    }
    
    protected boolean a(e parame, f.p_ paramp_)
    {
      boolean bool2 = ld.E;
      if ((bool2) || ((a() & 0x100) == 256)) {
        if (bool2) {}
      }
      boolean bool1 = paramp_.e();
      this.q |= bool1;
      return bool1;
    }
    
    protected boolean a(g paramg, e parame)
    {
      boolean bool = ld.E;
      int i1 = a();
      if (!bool) {
        if (paramg.y(parame))
        {
          if (!bool) {
            if ((lc.a(paramg, parame) instanceof a.j.b.f))
            {
              if ((bool) || ((i1 & 0x20) == 32)) {
                if (!bool) {
                  if (b()) {
                    if (bool) {
                      break label78;
                    }
                  }
                }
              }
              label78:
              return !this.q;
            }
          }
          j localj = j.a(paramg);
          if ((bool) || (localj != null))
          {
            if (bool) {
              break label137;
            }
            if (localj.m(parame))
            {
              if (!bool) {}
              return (i1 & 0x10) == 16;
            }
          }
          label137:
          if (!bool) {}
          return (i1 & 0x8) == 8;
        }
      }
      return false;
    }
    
    protected boolean a(e parame, jd paramjd)
    {
      boolean bool = ld.E;
      if ((bool) || ((a() & 0x200) == 512)) {
        if (bool) {}
      }
      return paramjd.f();
    }
    
    protected void b(g paramg, e parame)
    {
      d(paramg, parame);
      c(paramg, parame);
      e(paramg, parame);
    }
    
    private void c(g paramg, e parame)
    {
      boolean bool4 = ld.E;
      boolean bool3 = ld.D;
      Object localObject1 = null;
      ld localld = lc.a(paramg, parame);
      boolean bool1 = a(localld, parame);
      boolean bool2 = a(paramg, parame);
      Object localObject2;
      if (((bool4) || ((bool1) || ((bool4) || (bool2)))) && (c()) && ((bool4) || (paramg.K() != null)))
      {
        localObject2 = paramg.K().p(parame);
        if (localObject2 != null)
        {
          if (this.u.add(localObject2)) {
            paramg.a(new bb((e)localObject2).l());
          }
          b localb = paramg.w((e)localObject2).K();
          if ((bool4) || (localb != null)) {
            if (!bool4)
            {
              if (localb.e()) {
                localb.a(false);
              }
            }
            else {
              localObject1 = localb;
            }
          }
        }
      }
      if (!bool4) {
        if (bool1)
        {
          if (!bool4) {
            if (this.u.add(parame)) {
              paramg.a(new bb(parame).l());
            }
          }
          if (bool4) {
            break label235;
          }
          if (parame.c() > 0) {
            paramg.a(parame.l());
          }
        }
      }
      label235:
      Object localObject3;
      if (!bool4) {
        if ((localld instanceof a.j.b.f))
        {
          localObject2 = ((a.j.b.f)localld).eb();
          int i2 = ((f.r_)localObject2).k();
          do
          {
            do
            {
              if (i2-- <= 1) {
                break;
              }
              c(parame, ((f.r_)localObject2).c(i2));
              if ((!bool4) && (bool3)) {
                break label348;
              }
            } while (!bool3);
            if (bool4) {
              break label350;
            }
          } while (bool4);
          label348:
          label350:
          int i4;
          if (((f.r_)localObject2).k() > 1)
          {
            c(parame, ((f.r_)localObject2).c(0));
            if (bool4) {
              break label456;
            }
            if (!bool3) {}
          }
          else
          {
            f.n_ localn_ = ((f.r_)localObject2).c(0);
            i4 = localn_.k();
            do
            {
              do
              {
                if (i4-- <= 0) {
                  break;
                }
                c(parame, localn_.c(i4));
                if (bool4) {
                  break label456;
                }
                if (bool3) {
                  break label449;
                }
              } while (!bool3);
            } while (bool4);
            if (bool4) {
              break label456;
            }
            if (a(parame, localn_))
            {
              if (bool4) {
                break label456;
              }
              if (localn_.k() > 0) {
                d(parame, localn_);
              }
            }
          }
          label449:
          label456:
          int i3 = ((f.r_)localObject2).n();
          do
          {
            do
            {
              if (i3-- <= 1) {
                break;
              }
              c(parame, ((f.r_)localObject2).e(i3));
              if ((!bool4) && (bool3)) {
                break label544;
              }
            } while (!bool3);
            if (bool4) {
              break label546;
            }
          } while (bool4);
          if (((f.r_)localObject2).n() > 1)
          {
            c(parame, ((f.r_)localObject2).e(0));
            if (bool4) {
              break label650;
            }
            if (!bool3) {}
          }
          else
          {
            label544:
            label546:
            localObject3 = ((f.r_)localObject2).e(0);
            i4 = ((f.p_)localObject3).n();
            do
            {
              do
              {
                if (i4-- <= 0) {
                  break;
                }
                c(parame, ((f.p_)localObject3).e(i4));
                if (bool4) {
                  break label650;
                }
                if (bool3) {
                  break label645;
                }
              } while (!bool3);
            } while (bool4);
            if (bool4) {
              break label650;
            }
            if (a(parame, (f.p_)localObject3))
            {
              if (bool4) {
                break label650;
              }
              if (((f.p_)localObject3).n() > 0) {
                d(parame, (f.p_)localObject3);
              }
            }
          }
        }
      }
      label645:
      label650:
      int i1 = localld.y();
      do
      {
        do
        {
          if (i1-- <= 0) {
            break;
          }
          localObject3 = localld.c(i1);
        } while (!a(parame, (jd)localObject3));
        a(localld, (jd)localObject3, i1);
        if (bool4) {
          break label721;
        }
        if (bool4) {
          break label730;
        }
        if (bool3) {
          break label723;
        }
      } while ((!bool4) && (!bool3));
      label721:
      i1 = localld.x();
      label723:
      label730:
      do
      {
        do
        {
          if (i1-- <= 0) {
            break;
          }
          localObject3 = localld.b(i1);
        } while (!a(parame, (jg)localObject3));
        a(localld, (jg)localObject3, i1);
        if (bool4) {
          break label789;
        }
        if ((!bool4) && (bool3)) {
          break label798;
        }
      } while ((!bool4) && (!bool3));
      if (bool2) {
        label789:
        f(paramg, parame);
      }
      label798:
      if ((bool4) || (localObject1 != null)) {
        localObject1.a(true);
      }
    }
    
    private void d(g paramg, e parame)
    {
      boolean bool3 = ld.E;
      boolean bool2 = ld.D;
      this.q = false;
      this.r = new HashMap();
      this.s = new HashMap();
      this.t = new HashMap();
      ld localld = lc.a(paramg, parame);
      if ((bool3) || (localld.x() > 0))
      {
        boolean bool1 = localld instanceof a.j.b.f;
        a.j.b.f localf = bool1 ? (a.j.b.f)localld : null;
        int i1 = 0;
        int i2 = localld.x();
        label294:
        do
        {
          if (i1 >= i2) {
            break;
          }
          jg localjg = localld.b(i1);
          yc localyc = localjg.a();
          Object localObject;
          if (!bool3) {
            if ((localyc instanceof ce))
            {
              localObject = ce.a(localld, localjg.e());
              if (bool3) {
                continue;
              }
              if (localObject == null) {
                break label294;
              }
              this.t.put(localjg, localObject);
              if (bool3) {
                continue;
              }
              if (!bool2) {
                break label294;
              }
            }
          }
          if (!bool3)
          {
            if (bool1)
            {
              if (!bool3) {
                if ((localyc instanceof f.e_))
                {
                  localObject = f.e_.a(localf, localjg.e());
                  if (bool3) {
                    continue;
                  }
                  if (localObject == null) {
                    break label294;
                  }
                  this.r.put(localjg, localObject);
                  if (bool3) {
                    continue;
                  }
                  if (!bool2) {
                    break label294;
                  }
                }
              }
              if (bool3) {
                continue;
              }
              if ((localyc instanceof f.f_))
              {
                localObject = f.f_.a(localf, localjg.e());
                if (bool3) {
                  continue;
                }
                if (localObject != null) {
                  this.s.put(localjg, localObject);
                }
              }
            }
            i1++;
          }
        } while (!bool2);
      }
    }
    
    private void e(g paramg, e parame)
    {
      this.t = null;
      this.s = null;
      this.r = null;
      this.q = false;
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      g localg = parampg.a();
      localg.z();
      try
      {
        Object localObject1 = localg.w();
        if (((m)localObject1).e()) {}
        while (bool2)
        {
          b(localg, ((m)localObject1).a());
          ((m)localObject1).f();
          if ((!bool2) && (bool1)) {
            break label81;
          }
          if (!bool1) {
            break;
          }
        }
        this.u = new HashSet();
        label81:
        localObject1 = localg.K();
        if (localObject1 == null)
        {
          localObject2 = localg.v();
          do
          {
            if (!((a.c.w)localObject2).e()) {
              break;
            }
            b(localg, ((a.c.w)localObject2).d());
            ((a.c.w)localObject2).f();
            if ((!bool2) && (bool1)) {
              return;
            }
          } while (!bool1);
        }
        Object localObject2 = new ArrayList(localg.k());
        ((j)localObject1).a(((j)localObject1).f(localg), new lc.0(this, (ArrayList)localObject2));
        if (!bool2)
        {
          Iterator localIterator = ((ArrayList)localObject2).iterator();
          do
          {
            if (!localIterator.hasNext()) {
              break;
            }
            b(localg, (e)localIterator.next());
            if ((!bool2) && (bool1)) {
              return;
            }
          } while (!bool1);
          this.u = null;
          if (bool2) {
            return;
          }
        }
      }
      finally
      {
        localg.A();
      }
    }
    
    protected void b(g paramg, d paramd)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      tb localtb = paramg.t(paramd);
      if (!bool2)
      {
        if (a(localtb, paramd)) {
          paramg.a(new ab(paramd).l());
        }
      }
      else {
        localtb = paramg.t(paramd);
      }
      fb localfb = localtb.o();
      do
      {
        while (!bool1)
        {
          if (!localfb.e()) {
            break;
          }
          if (bool1) {
            break label120;
          }
          if (a(paramd, localfb.a())) {
            a(localtb, localfb.a());
          }
          localfb.f();
        }
      } while (bool2);
      label120:
      int i1 = localtb.V();
      do
      {
        ig localig;
        do
        {
          if (i1-- <= 0) {
            break;
          }
          localig = localtb.d(i1);
        } while (!a(paramd, localig));
        a(localtb, localig, i1);
        if (bool2) {
          break label195;
        }
        if ((!bool2) && (bool1)) {
          return;
        }
      } while ((!bool2) && (!bool1));
      if ((bool2) || (a(paramg, paramd))) {
        label195:
        c(paramg, paramd);
      }
    }
    
    protected pg a(ActionEvent paramActionEvent)
    {
      return lc.a(paramActionEvent, this.n);
    }
    
    boolean a(tb paramtb, d paramd)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      fb localfb = paramtb.o();
      do
      {
        if (!localfb.e()) {
          break;
        }
        if (bool1) {
          break label65;
        }
        if (a(paramd, localfb.a())) {
          return true;
        }
        localfb.f();
      } while (!bool1);
      if ((!bool2) && (paramtb.V() > 0))
      {
        label65:
        int i1 = 0;
        do
        {
          if (i1 >= paramtb.V()) {
            break;
          }
          if (bool1) {
            break label107;
          }
          if (a(paramd, paramtb.d(i1))) {
            return true;
          }
          i1++;
        } while (!bool1);
      }
      label107:
      return false;
    }
    
    boolean a(ld paramld, e parame)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      Object localObject1;
      if (!bool2)
      {
        if ((paramld instanceof a.j.b.f))
        {
          localObject1 = ((a.j.b.f)paramld).eb();
          ArrayList localArrayList = new ArrayList();
          localArrayList.addAll(((f.r_)localObject1).l());
          Object localObject2;
          do
          {
            do
            {
              if (localArrayList.isEmpty()) {
                break;
              }
              localObject2 = (f.n_)localArrayList.remove(localArrayList.size() - 1);
              if (bool1) {
                break label132;
              }
              if (a(parame, (f.n_)localObject2)) {
                return true;
              }
              localArrayList.addAll(((f.n_)localObject2).l());
            } while (!bool1);
            localArrayList.clear();
          } while (bool2);
          label132:
          localArrayList.addAll(((f.r_)localObject1).o());
          do
          {
            if (localArrayList.isEmpty()) {
              break;
            }
            localObject2 = (f.p_)localArrayList.remove(localArrayList.size() - 1);
            if (bool1) {
              break label202;
            }
            if (a(parame, (f.p_)localObject2)) {
              return true;
            }
            localArrayList.addAll(((f.p_)localObject2).o());
          } while (!bool1);
        }
        if (bool2) {}
      }
      else if (paramld.y() > 0)
      {
        label202:
        localObject1 = paramld.z();
        while (((Iterator)localObject1).hasNext()) {
          if (a(parame, (jd)((Iterator)localObject1).next()))
          {
            if ((bool2) || (bool1)) {
              break label252;
            }
            return true;
          }
        }
      }
      if (paramld.x() > 0)
      {
        label252:
        int i1 = 0;
        do
        {
          if (i1 >= paramld.x()) {
            break;
          }
          if (bool1) {
            break label294;
          }
          if (a(parame, paramld.b(i1))) {
            return true;
          }
          i1++;
        } while (!bool1);
      }
      label294:
      return false;
    }
    
    boolean c(e parame, f.n_ paramn_)
    {
      boolean bool3 = ld.E;
      boolean bool2 = ld.D;
      boolean bool1 = false;
      int i1 = paramn_.k();
      do
      {
        do
        {
          if (i1-- <= 0) {
            break;
          }
          bool1 |= c(parame, paramn_.c(i1));
          if (bool3) {
            break label89;
          }
          if (bool2) {
            return bool1;
          }
        } while (!bool2);
      } while (bool3);
      if (!bool3) {
        if (a(parame, paramn_))
        {
          d(parame, paramn_);
          return true;
        }
      }
      label89:
      return bool1;
    }
    
    boolean c(e parame, f.p_ paramp_)
    {
      boolean bool3 = ld.E;
      boolean bool2 = ld.D;
      boolean bool1 = false;
      int i1 = paramp_.n();
      do
      {
        do
        {
          if (i1-- <= 0) {
            break;
          }
          bool1 |= c(parame, paramp_.e(i1));
          if (bool3) {
            break label89;
          }
          if (bool2) {
            return bool1;
          }
        } while (!bool2);
      } while (bool3);
      if (!bool3) {
        if (a(parame, paramp_))
        {
          d(parame, paramp_);
          return true;
        }
      }
      label89:
      return bool1;
    }
    
    protected void c(g paramg, d paramd)
    {
      paramg.a(paramd);
    }
    
    protected void a(tb paramtb, ig paramig, int paramInt)
    {
      paramtb.b(paramig);
    }
    
    protected void a(tb paramtb, eb parameb)
    {
      paramtb.a(parameb);
    }
    
    protected void f(g paramg, e parame)
    {
      paramg.a(parame);
    }
    
    protected void a(ld paramld, jg paramjg, int paramInt)
    {
      paramld.c(paramjg);
    }
    
    protected void a(ld paramld, jd paramjd, int paramInt)
    {
      paramld.d(paramInt);
    }
    
    protected void d(e parame, f.n_ paramn_)
    {
      paramn_.c();
    }
    
    protected void d(e parame, f.p_ paramp_)
    {
      paramp_.c();
    }
  }
  
  public static class cb_
    extends AbstractAction
  {
    public static final int a = 1;
    public static final int b = 2;
    public static final int c = 8;
    public static final int d = 16;
    public static final int e = 32;
    public static final int f = 64;
    public static final int g = 16384;
    public static final int h = 32768;
    private static final int i = 123;
    private static final int j = 9;
    private static final int k = 49233;
    private static final int l = 42;
    private static final int m = 49152;
    private static final int n = 48;
    public static final int o = 49275;
    private final pg p;
    private int q;
    private int r;
    private boolean s;
    public static int t;
    
    public cb_()
    {
      this(null);
    }
    
    public cb_(pg parampg)
    {
      super();
      this.p = parampg;
      this.q = 123;
      this.r = 9;
    }
    
    public int a()
    {
      return this.r;
    }
    
    public void a(int paramInt)
    {
      this.r = (paramInt & 0xC07B);
    }
    
    public int b()
    {
      return this.q;
    }
    
    public void b(int paramInt)
    {
      this.q = (paramInt & 0xC07B);
    }
    
    public boolean c()
    {
      return this.s;
    }
    
    public void a(boolean paramBoolean)
    {
      this.s = paramBoolean;
    }
    
    public void actionPerformed(ActionEvent paramActionEvent)
    {
      pg localpg = a(paramActionEvent);
      if (!ld.E)
      {
        if (localpg != null) {
          a(localpg);
        }
      }
      else {
        localpg.a().gb();
      }
    }
    
    public void a(pg parampg)
    {
      g localg = parampg.a();
      localg.z();
      try
      {
        a(localg);
      }
      finally
      {
        localg.A();
      }
    }
    
    private void a(g paramg)
    {
      a(paramg, c(b(paramg)));
    }
    
    protected int c(int paramInt)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      if (!bool2) {
        if (c())
        {
          i1 = paramInt;
          if (!bool2) {
            if (i1 == 0)
            {
              i1 = a();
              if (bool2) {
                break label68;
              }
              if (!bool1) {
                break label62;
              }
            }
          }
          if (!bool2) {
            if ((i1 & 0x9) == i1) {
              i1 = 9;
            }
          }
          label62:
          label68:
          return i1 & b();
        }
      }
      int i1 = paramInt;
      if (!bool2) {
        if (i1 == 0) {
          i1 = a();
        }
      }
      if (!bool2) {
        if ((i1 & 0x2) == 2)
        {
          i1 = 2;
          if (bool2) {
            break label141;
          }
          if (!bool1) {
            break label137;
          }
        }
      }
      if (!bool2) {
        if ((i1 & 0x9) != 0)
        {
          i1 = 9;
          if (bool2) {
            break label141;
          }
          if (!bool1) {
            break label137;
          }
        }
      }
      i1 = d(i1);
      label137:
      label141:
      if (!bool2) {
        if ((i1 & 0x30) != 0) {
          i1 = 48;
        }
      }
      return i1 & b();
    }
    
    private static int d(int paramInt)
    {
      return paramInt & -paramInt;
    }
    
    protected void a(g paramg, int paramInt)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      Object localObject;
      do
      {
        localObject = paramg.v();
        while (!bool1)
        {
          if (!((a.c.w)localObject).e()) {
            break;
          }
          a(paramg, ((a.c.w)localObject).d(), paramInt);
          ((a.c.w)localObject).f();
        }
      } while (bool2);
      do
      {
        localObject = paramg.w();
        while (!bool1)
        {
          if (!((m)localObject).e()) {
            break;
          }
          a(paramg, ((m)localObject).a(), paramInt);
          ((m)localObject).f();
        }
      } while (bool2);
    }
    
    protected void a(g paramg, d paramd, int paramInt)
    {
      boolean bool5 = ld.E;
      boolean bool4 = ld.D;
      if (!bool5) {}
      boolean bool1 = (paramInt & 0x2) == 2;
      if (!bool5) {}
      boolean bool2 = (paramInt & 0x20) == 32;
      if (!bool5) {}
      boolean bool3 = (paramInt & 0x8) == 8;
      a(paramg, paramd, bool1);
      tb localtb = paramg.t(paramd);
      if (!bool5) {
        if (localtb.V() > 0)
        {
          int i1 = 0;
          int i2 = localtb.V();
          do
          {
            if (i1 >= i2) {
              break;
            }
            a(paramg, localtb.d(i1), bool2);
            i1++;
            if ((!bool5) && (bool4)) {
              return;
            }
          } while (!bool4);
        }
      }
      if ((!bool5) && ((bool5) || (localtb.n() > 0)))
      {
        fb localfb = localtb.o();
        do
        {
          if (!localfb.e()) {
            break;
          }
          a(paramg, localfb.a(), bool3);
          localfb.f();
        } while (!bool4);
      }
    }
    
    protected void a(g paramg, e parame, int paramInt)
    {
      boolean bool7 = ld.E;
      boolean bool6 = ld.D;
      if (!bool7) {}
      boolean bool1 = (paramInt & 0x1) == 1;
      if (!bool7) {}
      boolean bool2 = (paramInt & 0x10) == 16;
      if (!bool7) {}
      boolean bool3 = (paramInt & 0x40) == 64;
      if (!bool7) {}
      boolean bool4 = (paramInt & 0x4000) == 16384;
      if (!bool7) {}
      boolean bool5 = (paramInt & 0x8000) == 32768;
      a(paramg, parame, bool1);
      ld localld = paramg.w(parame);
      if (!bool7)
      {
        if (localld.x() > 0)
        {
          int i1 = 0;
          int i2 = localld.x();
          do
          {
            if (i1 >= i2) {
              break;
            }
            a(paramg, localld.b(i1), bool2);
            i1++;
            if (bool7) {
              break label274;
            }
            if (bool6) {
              break label259;
            }
          } while (!bool6);
        }
        if (bool7) {}
      }
      else if (!bool7)
      {
        if (localld.y() > 0)
        {
          localObject = localld.z();
          do
          {
            if (!((Iterator)localObject).hasNext()) {
              break;
            }
            a(paramg, (jd)((Iterator)localObject).next(), bool3);
            if ((!bool7) && (bool6)) {
              break label288;
            }
          } while (!bool6);
        }
        label259:
        if (bool7) {
          break label290;
        }
        if (bool7) {
          break label285;
        }
      }
      label274:
      label285:
      label288:
      label290:
      Object localObject = (localld instanceof qd) ? ((qd)localld).i() : localld;
      if ((bool7) || ((localObject instanceof a.j.b.f)))
      {
        f.r_ localr_ = ((a.j.b.f)localObject).eb();
        a(paramg, localr_, bool4);
        a(paramg, localr_, bool5);
      }
    }
    
    private void a(g paramg, f.o_ paramo_, boolean paramBoolean)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      int i2 = paramo_.k();
      do
      {
        if (i1 >= i2) {
          break;
        }
        f.n_ localn_ = paramo_.c(i1);
        a(paramg, localn_, paramBoolean);
        if (!bool2)
        {
          if (localn_.k() > 0) {
            a(paramg, localn_, paramBoolean);
          }
          i1++;
        }
      } while (!bool1);
    }
    
    private void a(g paramg, f.q_ paramq_, boolean paramBoolean)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      int i2 = paramq_.n();
      do
      {
        if (i1 >= i2) {
          break;
        }
        f.p_ localp_ = paramq_.e(i1);
        a(paramg, localp_, paramBoolean);
        if (!bool2)
        {
          if (localp_.n() > 0) {
            a(paramg, localp_, paramBoolean);
          }
          i1++;
        }
      } while (!bool1);
    }
    
    protected int b(g paramg)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      int i2 = b();
      Object localObject;
      if (!bool2)
      {
        if ((i2 & 0xC051) != 0)
        {
          localObject = paramg.v();
          do
          {
            if (!((a.c.w)localObject).e()) {
              break;
            }
            i1 |= a(paramg, ((a.c.w)localObject).d());
            ((a.c.w)localObject).f();
            if (bool2) {
              break label158;
            }
            if (bool1) {
              break label152;
            }
          } while (!bool1);
        }
        if (bool2) {}
      }
      else if (!bool2)
      {
        if ((i2 & 0x2A) != 0)
        {
          localObject = paramg.w();
          do
          {
            if (!((m)localObject).e()) {
              break;
            }
            if (!bool2)
            {
              if (bool1) {
                break label160;
              }
              i1 |= a(paramg, ((m)localObject).a());
              ((m)localObject).f();
            }
          } while (!bool1);
        }
        label152:
        if (bool2) {
          break label160;
        }
      }
      label158:
      label160:
      return i1 & i2;
    }
    
    protected int a(g paramg, d paramd)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      if ((bool2) || (b(paramg, paramd))) {
        i1 |= 0x2;
      }
      tb localtb = paramg.t(paramd);
      if (!bool2) {
        if ((i1 & 0x20) != 32)
        {
          if (bool2) {
            break label130;
          }
          if (localtb.V() > 0)
          {
            int i2 = 0;
            int i3 = localtb.V();
            do
            {
              if (i2 >= i3) {
                break;
              }
              if (bool2) {
                break label140;
              }
              if (bool1) {
                break label138;
              }
              if (a(paramg, localtb.d(i2)))
              {
                i1 |= 0x20;
                if (bool2) {
                  break label130;
                }
                if (!bool1) {
                  break;
                }
              }
              i2++;
            } while (!bool1);
          }
        }
      }
      label130:
      label138:
      if ((bool2) || ((i1 & 0x8) != 8)) {
        label140:
        if ((bool2) || (localtb.n() > 0))
        {
          fb localfb = localtb.o();
          do
          {
            if (!localfb.e()) {
              break;
            }
            if (bool1) {
              break label221;
            }
            if (a(paramg, localfb.a()))
            {
              i1 |= 0x8;
              if (!bool2) {
                if (!bool1) {
                  break;
                }
              }
            }
            else
            {
              localfb.f();
            }
          } while (!bool1);
        }
      }
      label221:
      return i1;
    }
    
    protected int a(g paramg, e parame)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      if ((bool2) || (b(paramg, parame))) {
        i1 |= 0x1;
      }
      ld localld = paramg.w(parame);
      if (!bool2)
      {
        if ((i1 & 0x10) != 16)
        {
          if (bool2) {
            break label130;
          }
          if (localld.x() > 0)
          {
            int i2 = 0;
            int i3 = localld.x();
            do
            {
              if (i2 >= i3) {
                break;
              }
              if (bool2) {
                break label140;
              }
              if (bool1) {
                break label138;
              }
              if (a(paramg, localld.b(i2)))
              {
                i1 |= 0x10;
                if (bool2) {
                  break label130;
                }
                if (!bool1) {
                  break;
                }
              }
              i2++;
            } while (!bool1);
          }
        }
        label130:
        if (bool2) {
          break label140;
        }
      }
      label138:
      label140:
      Object localObject;
      if (!bool2) {
        if ((i1 & 0x40) != 64)
        {
          if (bool2) {
            break label226;
          }
          if (localld.y() > 0)
          {
            localObject = localld.z();
            while (((Iterator)localObject).hasNext()) {
              if (a(paramg, (jd)((Iterator)localObject).next()))
              {
                i1 |= 0x40;
                if (bool2) {
                  break label226;
                }
                if (bool2) {
                  break label357;
                }
                if (bool1) {
                  return i1;
                }
              }
            }
          }
        }
      }
      label226:
      if (!bool2) {
        if ((b() & 0xC000) != 0)
        {
          if (!bool2) {}
          localObject = (localld instanceof qd) ? ((qd)localld).i() : localld;
          if (bool2) {
            break label357;
          }
          if ((localObject instanceof a.j.b.f))
          {
            f.r_ localr_ = ((a.j.b.f)localObject).eb();
            if (!bool2)
            {
              if ((i1 & 0x4000) != 16384)
              {
                if (bool2) {
                  break label326;
                }
                if (a(paramg, localr_)) {
                  i1 |= 0x4000;
                }
              }
              if (bool2) {
                break label357;
              }
            }
            if ((i1 & 0x8000) != 32768)
            {
              if (bool2) {
                break label357;
              }
              if (a(paramg, localr_)) {
                i1 |= 0x8000;
              }
            }
          }
        }
      }
      label326:
      label357:
      return i1;
    }
    
    private boolean a(g paramg, f.o_ paramo_)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      int i2 = paramo_.k();
      do
      {
        if (i1 >= i2) {
          break;
        }
        f.n_ localn_ = paramo_.c(i1);
        if (bool1) {
          break label93;
        }
        if (a(paramg, localn_)) {
          return true;
        }
        if (!bool2)
        {
          if (localn_.k() > 0)
          {
            if (bool2) {
              continue;
            }
            if (a(paramg, localn_)) {
              return true;
            }
          }
          i1++;
        }
      } while (!bool1);
      label93:
      return false;
    }
    
    private boolean a(g paramg, f.q_ paramq_)
    {
      boolean bool2 = ld.E;
      boolean bool1 = ld.D;
      int i1 = 0;
      int i2 = paramq_.n();
      do
      {
        if (i1 >= i2) {
          break;
        }
        f.p_ localp_ = paramq_.e(i1);
        if (bool1) {
          break label93;
        }
        if (a(paramg, localp_)) {
          return true;
        }
        if (!bool2)
        {
          if (localp_.n() > 0)
          {
            if (bool2) {
              continue;
            }
            if (a(paramg, localp_)) {
              return true;
            }
          }
          i1++;
        }
      } while (!bool1);
      label93:
      return false;
    }
    
    protected void a(g paramg, jd paramjd, boolean paramBoolean)
    {
      paramg.a(paramjd, paramBoolean);
    }
    
    protected void a(g paramg, e parame, boolean paramBoolean)
    {
      paramg.a(parame, paramBoolean);
    }
    
    protected void a(g paramg, d paramd, boolean paramBoolean)
    {
      paramg.a(paramd, paramBoolean);
    }
    
    protected void a(g paramg, hg paramhg, boolean paramBoolean)
    {
      paramg.a(paramhg, paramBoolean);
    }
    
    protected void a(g paramg, eb parameb, boolean paramBoolean)
    {
      paramg.a(parameb, paramBoolean);
    }
    
    protected void a(g paramg, f.n_ paramn_, boolean paramBoolean)
    {
      paramn_.a(paramBoolean);
    }
    
    protected void a(g paramg, f.p_ paramp_, boolean paramBoolean)
    {
      paramp_.a(paramBoolean);
    }
    
    protected boolean a(g paramg, eb parameb)
    {
      return paramg.a(parameb);
    }
    
    protected boolean a(g paramg, hg paramhg)
    {
      return paramg.a(paramhg);
    }
    
    protected boolean b(g paramg, d paramd)
    {
      return paramg.v(paramd);
    }
    
    protected boolean b(g paramg, e parame)
    {
      return paramg.y(parame);
    }
    
    protected boolean a(g paramg, jd paramjd)
    {
      return paramg.a(paramjd);
    }
    
    protected boolean a(g paramg, f.n_ paramn_)
    {
      return paramn_.e();
    }
    
    protected boolean a(g paramg, f.p_ paramp_)
    {
      return paramp_.e();
    }
    
    protected pg a(ActionEvent paramActionEvent)
    {
      return lc.a(paramActionEvent, this.p);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.lc

 * JD-Core Version:    0.7.0.1

 */